#pragma once
#include "collection.h"

using namespace Platform;
using namespace StyleMVVM::DependencyInjection;

namespace StyleMVVM_Cpp_UnitTests
{
	public interface class ISimpleType
	{

	};

	public ref class SimpleType sealed : ISimpleType
	{	
	public:
		static void RegisterExport(IDependencyInjectionContainer^ container)
		{
			container->RegisterExportFunction(SimpleType::typeid,
				ref new ExportFunction([](IDependencyInjectionContainer^  container, IInjectionContext^ injectionContext, const Array<Object^>^ constructorParams)
			{
				return ref new SimpleType();
			}))->
			As(ISimpleType::typeid);
		}
	};

}